<template>
	<div class="tele_wrapper">
		<idenheader leftTitle="被执行人" rightData="数据来自高等法院"></idenheader>
		<div v-show="!excuted.queryState || excuted.queryState != 'SUCCESS'"  class="shenfen_pass">此人没有相关记录</div>
		<div v-show="excuted.queryState === 'SUCCESS'"  class="shenfen_nopass">有被执行人记录</div>
		<div v-show="excuted.queryState" class="shenfen_info">
			<ul class="m-list" v-for="executed in excuted.executedList">
                <li>
                    <label>案&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
                    <span>{{executed.caseCode}}</span>
                </li>
                <li>
                    <label>执行法院</label>
                    <span>{{executed.courtName}}</span>
                </li>
                <li>
                    <label>立案时间</label>
                    <span>{{executed.regDate}}</span>
                </li>
                <li>
                    <label>案件状态</label>
                    <span>{{executed.caseState}}</span>
                </li>
                <li>
                    <label>执行标准</label>
                    <span>{{executed.execMoney}}</span>
                </li>
            </ul>
		</div>
	</div>
</template>

<script>
	import idenheader from '../common/idenheader';
	export default {
		data(){
			return{
				listHeight: [],
        		scrollY: 0,
			}
		},
		components:{
			idenheader
		},
		props:['excuted']
	}
</script>

<style scoped>
	.tele_wrapper{
		border: 1px solid #EDEDED;
	    border-radius: 2px 2px 3px 3px;
	}
	.shenfen_info{
		padding: 0 17px;
	}
	.shenfen_pass{
		padding: 0 17px;
		height: 36px;
		line-height: 36px;
        color: #808080;
	    border-bottom: 1px solid #EDEDED;
	    font-size: 1.1rem;
	}
	.shenfen_nopass{
		padding: 0 17px;
		height: 36px;
		line-height: 36px;
        color: #ff4949;
        border-bottom: 1px solid #EDEDED;
	}
	.m-list{
		padding-top: 10px;
	}
	.m-list li{
		list-style: none;
		margin-bottom:10px;
		font-size: 1.2rem;
	}
	.m-list li label{
		text-align: justify;
    	color: #9b9b9b;
    }
    .m-list li span{
	    color: #212121;
	    margin-left: 16px;
    }
    .shenfen_nopass {
	    padding: 0 17px;
	    height: 36px;
	    line-height: 36px;
	    color: #ff4949;
	    border-bottom: 1px solid #EDEDED;
	}
</style>